package model;

public class Account2VO {
	
	// 멤버 변수
	private String aid;
	private int balance;
	private double interesRate;
	private int dateCreated;
	private double monthlyInterestRate;
	

	// 생성자
	public Account2VO(String aid, int balance, double interesRate, String string){
		this.aid = aid;
		this.balance = balance;
		this.interesRate = interesRate;
		this.dateCreated = dateCreated;
	}

	// Set Get
	public String getAid() {
		return aid;
	}
	public void setAid(String aid) {
		this.aid = aid;
	}
	public int getBalance() {
		return balance;
	}
	public void setBalance(int balance) {
		this.balance = balance;
	}
	public double getInteresRate() {
		return interesRate;
	}
	public void setInteresRate(double interesRate) {
		this.interesRate = interesRate;
	}
	public int getDateCreated() {
		return dateCreated;
	}
	public void setDateCreated(int dateCreated) {
		this.dateCreated = dateCreated;
	}	
	public double getMonthlyInterestRate() {
		return monthlyInterestRate;
	}
	public void setMonthlyInterestRate(double monthlyInterestRate) {
		this.monthlyInterestRate = monthlyInterestRate;
	}
	

	public String toString() {
		String result = "";
		result += aid +"/"+balance+"/"+interesRate+"/"+dateCreated+"/"+monthlyInterestRate;
		return result;

	}
	
}
